@import '@/base.scss';
@import "~@@/app_style";

.index {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: calc(100vh);
  background: #F8F8F8;

  .top {
    width: 750px;
    height: 420px;

    .top_img {
      width: 100%;
      height: 100%;
    }
  }

  .main {
    width: 100%;
    flex-grow: 1;
    overflow: auto;
    margin-left: 30px;

    .title {
      font-size: 32px;
      font-family: PingFang SC;
      font-weight: 400;
      line-height: 40px;
      color: #333333;
      margin-top: 20px;
      margin-right: 48px;
    }

    .content {
      width: 100%;
      margin-top: 20px;
      display: flex;
      justify-content: flex-start;

      .ct-left {
        .name {
          margin-top: 10px;
          font-size: 28px;
          font-family: PingFang SC;
          font-weight: 300;
          color: #333333;
          line-height: 40px;
        }

        .addName {
          margin-top: 10px;
          font-size: 28px;
          font-family: PingFang SC;
          font-weight: 300;
          color: #333333;
          line-height: 40px;
        }

        .time {
          margin-top: 10px;
          font-size: 28px;
          font-family: PingFang SC;
          font-weight: 300;
          color: #333333;
          line-height: 40px;
        }
      }

      .ct-right {
        .name {
          margin-top: 10px;
          font-size: 28px;
          font-family: PingFang SC;
          font-weight: 300;
          line-height: 40px;
          color: #333333;
          margin-left: 35px;
          overflow: hidden; //超出的文本隐藏
          text-overflow: ellipsis; //溢出用省略号显示
          white-space: nowrap; //溢出不换行
        }

        .addName {
          margin-top: 10px;
          font-size: 28px;
          font-family: PingFang SC;
          font-weight: 300;
          line-height: 40px;
          color: #333333;
          margin-left: 35px;
          overflow: hidden; //超出的文本隐藏
          text-overflow: ellipsis; //溢出用省略号显示
          white-space: nowrap; //溢出不换行
        }

        .time {
          margin-top: 10px;
          font-size: 28px;
          font-family: PingFang SC;
          font-weight: 300;
          line-height: 40px;
          color: #333333;
          margin-left: 35px;
          overflow: hidden; //超出的文本隐藏
          text-overflow: ellipsis; //溢出用省略号显示
          white-space: nowrap; //溢出不换行
        }

      }
    }

    .tip {
      font-size: 32px;
      font-family: PingFang SC;
      font-weight: 400;
      line-height: 40px;
      color: #333333;
      opacity: 1;
      margin-top: 30px;
    }

    .tip_ct {
      font-size: 28px;
      font-family: PingFang SC;
      font-weight: 300;
      line-height: 40px;
      color: #333333;
      opacity: 1;
      margin-top: 30px;
      margin-right: 25px;
    }
  }

  .button {
    width: 400px;
    height: 80px;
    // background: linear-gradient(140deg, #ED3333 0%, #D20202 100%);
    background: $main_color;
    box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 60px;

    .bt-box {
      height: 80px;
      display: flex;
      justify-content: center;
      align-items: center;

      .text2 {
        font-size: 32px;
        font-family: PingFang SC;
        font-weight: 300;
        color: #FFFFFF;
        text-align: center;
      }

      .playImg {
        width: 26px;
        height: 30px;
        padding-left: 20px;
      }
    }
  }

  .tipsBox {
    width: 750px;
    height: calc(100vh);
    background: rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 999;

    .model {
      width: 540px;
      height: 315px;
      background: #fff;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);

      .close {
        width: 30px;
        height: 30px;
        margin-top: 20px;
        margin-left: 490px;

        .close_img {
          width: 100%;
          height: 100%;
        }
      }

      .tips {
        width: 480px;
        height: 93px;
        font-size: 32px;
        font-family: PingFang SC;
        font-weight: 500;
        line-height: 48px;
        color: #333333;
        opacity: 1;
        text-align: center;
        margin-left: 30px;
        margin-top: 20px;
      }
    }

    .label-content {
      width: 400px;
      display: flex;
      align-items: center;
      margin: 30px auto 0;

      .code {
        width: 80px;
        height: 80px;
        background: #E6E6E6;
        opacity: 1;
        border-radius: 4px;
        margin-right: 20px;
        border: 1px solid #9F9F9F;
        box-sizing: border-box;
        text-align: center;
        line-height: 88px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      @keyframes animate {
        100% {
          opacity: 0;
        }
      }

      .active:after {
        content: '';
        display: inline-block;
        height: 60%;
        width: 3px;
        background: #313131;
        animation: .8s animate infinite;
      }
    }

    .two-code {
      height: 88px;
      position: absolute;
      top: -999px;
      left: -999px;
    }
  }
}
